import {view, BondViewGroup, binder} from "adajs";
import NewsService from "./state.js";
import Tab from "./../../tab";

@view({
    className: "courseap",
    template: "./template.html",
    style: "./style.scss",
    dataset: {
        service: NewsService
    }
})
class News extends BondViewGroup {
    tags() {
        return {
            tab: Tab
        }
    }

    @binder("active")
    active({cell}) {
        this.commit("active",cell);
    }
}

export default News;